
#ifndef ORGANIZATIONAO_STUB_4_WEB_H
#define ORGANIZATIONAO_STUB_4_WEB_H

#include <string>
#include "c2cent/base/basestub4web.h"
#include "app_platform/cntl_info.h"
#include "intf_organizationao.h"

namespace erp
{
namespace organization
{
namespace ao
{
	#define ORGANIZATIONAO_STUB4WEB_VERSION "ERP_ORGANIZATION_AO___ORGANIZATIONAO__STUB4WEB_VERSION__1.0 2013-10-23 11:04:16"
    const std::string ORGANIZATIONAO_STUB4WEB_NOUSE = ORGANIZATIONAO_STUB4WEB_VERSION;
	
	class COrganizationAoStub4Web : public c2cent::CBaseStub4Web, public IOrganizationAo	{
	public:
		uint32_t DeleteBranch(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint32_t option,
				const std::set<uint64_t >& branchId,
				const std::string& inReserve,
				std::string& errmsg,
				std::map<uint64_t,uint32_t >& errorCode,
				std::map<uint64_t,std::string >& errorMsg,
				std::string& outReserve
	    );
		uint32_t FindBranch(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint32_t option,
				const erp::organization::po::COrganizationFilterPo& filter,
				const std::string& inReserve,
				std::string& errmsg,
				uint32_t& total,
				std::vector<erp::organization::po::CBranchPo >& branch,
				std::string& outReserve
	    );
		uint32_t GetBranch(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint32_t option,
				const std::set<uint64_t >& branchId,
				const std::string& inReserve,
				std::string& errmsg,
				std::map<uint64_t,uint32_t >& errorCode,
				std::map<uint64_t,std::string >& errorMsg,
				std::map<uint64_t,erp::organization::po::CBranchPo >& branch,
				std::string& outReserve
	    );
		uint32_t ModifyBranch(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				uint32_t option,
				const erp::organization::po::CBranchPo& branch,
				const std::string& inReserve,
				std::string& errmsg,
				erp::organization::po::CBranchPo& branchBack,
				std::string& outReserve
	    );
	};

}
}
}
 
#endif /* ORGANIZATIONAO_STUB_4_WEB_H */
